import Axios from "@/utils/request";
import type { HttpResponse } from '@/api/types';

// mate
export default {
  // 标签tab
  getTableTag(params: any): Promise<HttpResponse> {
    return Axios.post('http://hxbfb.bailingkeji.com/maintain/table/tag', params)
  },
  // 删除标签
  getTableTagDelete(params: any): Promise<HttpResponse> {
    return Axios.post('http://hxbfb.bailingkeji.com/maintain/table/tag-delete', params)
  },
  // 标签 添加、修改
  getTableTagUpdate(params: any): Promise<HttpResponse> {
    return Axios.post('http://hxbfb.bailingkeji.com/maintain/table/tag-update', params)
  },
  // 查看标签
  getTableTagItem(params: any): Promise<HttpResponse> {
    return Axios.post('http://hxbfb.bailingkeji.com/maintain/table/tag-item', params)
  },
}
